﻿using SqlSugar;

namespace Lanbt.Core.Entity.Dto.lanbt_user
{
    public class GetUserInfo
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string ID { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public string? CreatedId { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime ModificaTime { get; set; }

        /// <summary>
        /// 修改人ID
        /// </summary>
        public string? ModifiedId { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string? HeadUrl { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string? Mobile { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string? Email { get; set; }

        /// <summary>
        /// 是否是超级管理员
        /// </summary>
        public bool IsAdmin { get; set; } = false;
    }
}
